package com.freesky.biz.icbc.mapper;

import com.freesky.biz.icbc.domain.TScanBusi;
import com.freesky.biz.icbc.domain.TScanUser;
import com.freesky.biz.icbc.excel.TPensionUserImport;
import com.freesky.biz.icbc.excel.TScanUserExport;
import com.freesky.biz.icbc.excel.TScanUserImport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScanUserMapper {

    public int insertScanUser(TScanUser scanUser);

    public int updateScanUser(TScanUser scanUser);

    public TScanUser checkMobileUnique(@Param("mobile") String mobile);

    public List<TScanUser> selectScanUserList(TScanUser scanUser);

    public int deleteScanUserById(Long[] scanUserIds);

    public TScanUser selectScanUserById(Long scanUserId);

    public List<TScanUserExport> exportScanUserList(TScanUser scanUser);

    public int batchAddList(@Param("scanUserList")List<TScanUserImport> scanUserImportList);

    public int batchUpdateList(@Param("scanUserList")List<TScanUserImport> scanUserImportList);
}
